feat: PDF-first runtime scaffold — docd, pdf-secure, pdf-viewer-demo, smoke validation#5
Draft
feat: PDF-first runtime scaffold — docd, pdf-secure, pdf-viewer-demo, smoke validation#5
Conversation
Agent-Logs-Url: https://github.com/SourceOS-Linux/sourceos-shell/sessions/a3e9339f-5058-449b-9d2e-7f901acef9a4 Co-authored-by: mdheller <21163552+mdheller@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add PDF-first runtime scaffold with services and demo
feat: PDF-first runtime scaffold — docd, pdf-secure, pdf-viewer-demo, smoke validation
May 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Turns the declared PDF-first runtime boundary in the README into an executable scaffold with
make validateandmake smokepassing against zero external dependencies.Services
services/docd/src/derive.js— derive-lane placeholder (draft → derived); exits 0services/pdf-secure/src/sign-validate.js— sign/validate-lane placeholder; exits 0package.jsonfiles gain a"smoke": "node src/..."script and switch type tocommonjsApps
apps/pdf-viewer-demo/package.json— missing workspace manifest addedapps/pdf-viewer-demo/src/smoke.js— viewer/demo smoke placeholder; exits 0Makefile
Replaces the docker-only Makefile with targets that work without Docker:
README
Rewrites the boundary section as a scanned table linking explicitly to
sourceos-spec(contracts) andsource-os(Linux realization). Adds commands, content-layout, and status tables.Content layout
content/draft,content/derived, andcontent/reportswere already present with.gitkeepplaceholders — no changes needed.